import { createSSRApp } from 'vue';
import App from './App.vue';

import uvui from '@toothdy/uvui-ts';
import config from '@/config';
import pinia from '@/store';

export function createApp() {
   const app = createSSRApp(App);

   app.use(uvui);
   app.use(pinia);

   config();

   return {
      app,
   };
}
